<div class="post">
    {assign var="imgSrc" value=UploadImageFacade::resolveImagePath($data->img_id, "134x134")}
    <img src="{$imgSrc}" alt="" class="logo" height="134" width="134" />
    <a href="/advertisement/view/{$data->advt_id}" class="title">{CHtml::encode($data->title)}</a>
    <p class="date">{$data->publish_date|date_format:"%e.%m.%Y %H:%M"}</p>
    <p class="text">{$data->text|truncate:100:"...":true}</p>
    {if ($isAuthor == true)}
    <a href="/advertisement/delete/{$data->advt_id}" class="more">Удалить</a><a href="/advertisement/update/{$data->advt_id}" class="more">Редактировать</a>
    {/if}
    <a href="/advertisement/view/{$data->advt_id}" class="more">Подробнее</a>
    <div class="clear-floating"></div>
</div>